package com.goal.plugin;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.editor.ex.EditorSettingsExternalizable;
import org.jetbrains.annotations.NotNull;

public class SelectAction extends AnAction {

    @Override
    public void actionPerformed(@NotNull AnActionEvent anActionEvent) {
        EditorSettingsExternalizable editorSettingsExternalizable = EditorSettingsExternalizable.getInstance();
        editorSettingsExternalizable.setCamelWords(!editorSettingsExternalizable.isCamelWords());
        System.out.println("change status to: " + editorSettingsExternalizable.isCamelWords());
    }

}
